package savantConn;

import org.apache.http.HttpHost;
import org.elasticsearch.client.RestClient;
import org.elasticsearch.client.RestHighLevelClient;

public class ElasticsearchTool {

  private String Host = "localhost";

  private int port = 9200;

  public static void main(String[] args) {

  }

  public RestHighLevelClient client() {
    return new RestHighLevelClient(RestClient.builder(new HttpHost(Host, port)));
  }
}
